package com.woniuxy.happylife.suggest.service.impl;

import com.woniuxy.happylife.entity.User;
import com.woniuxy.happylife.suggest.dao.UserDao;
import com.woniuxy.happylife.suggest.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author Fu
 * @Date 2022-02-15 15:39
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    UserDao userDao;
    @Override
    public User findById(Integer userId) {
        return userDao.findById(userId);
    }
}
